import request from '@/utils/request'

// 商品收藏
export function createGoodsCollection(data:{
    id?:number | string;
}) {
    return request({
        url: 'store.goodsCollection/set',
        method: 'POST',
        data
    })
}
export function getGoodsCollectionList(data:{
    page?:number | string;
}) {
    return request({
        url: 'store.goodsCollection/list',
        method: 'GET',
        data
    })
}
